package com.sofwin.service.impl;

import com.github.pagehelper.PageInfo;
import com.sofwin.dto.OperatorLogDto;
import com.sofwin.mapper.OperatorLogMapper;
import com.sofwin.pojo.OperatorLog;
import com.sofwin.service.OperatorLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @packageName: com.sofwin.service.impl
 * @author: andyliu
 * @date: 2022/8/16 11:24
 * @email 115176513@qq.com
 * @description: TODO
 */
@Service("operatorLogService")
public class OperatorLogServiceImpl implements OperatorLogService {
    @Autowired
    private OperatorLogMapper mapper;
    @Override
    public boolean saveLog(OperatorLog log) {
        return mapper.insertSelective(log)==1?true:false;
    }

    @Override
    public boolean removeById(Integer id) {
        return false;
    }

    @Override
    public boolean removeByIds(Integer[] ids) {
        return false;
    }

    @Override
    public PageInfo<OperatorLogDto> queryByPage(OperatorLog log, Integer pageNumber, Integer pageSize) {
        return null;
    }
}
